 <style type="text/css" media="screen">
        #box label
        {
            float: left;
            width: 110px;
            line-height: 20px;
        }

	#box input{
            width: 100px;
	}

        #remember_me_holder label
        {
            float: none;
        }

        #remember_me_holder input
        {
            width: 20px;
        }
        #remember_me_holder
        {
            float: none;
        }
	#inputbutton input{
          /*float: right;*/
          width: 70px;
          float: right;
	}
        #box
        {
          width: 220px;
        }

 </style>

<div id="box">
      <g:if test='${flash.message}'>
              <div class='login_message'>${flash.message}</div>
      </g:if>

      <form action='${request.contextPath}/j_spring_security_check' method='POST' id='loginForm' class='cssform' autocomplete='off'>
              <p>
                      <label for='username'>Usuario:</label>
                      <input type='text' class='text_' name='j_username' id='username'/>
              </p>

              <p>
                      <label for='password'>Contraseña:</label>
                      <input type='password' class='text_' name='j_password' id='password'/>
              </p>

              <p id="remember_me_holder">
                      <input type='checkbox' class='chk' name='${rememberMeParameter}' id='remember_me' <g:if test='${hasCookie}'>checked='checked'</g:if>/>
                      <label for='remember_me'>Guardar Sesión</label>
              </p>

              <p id="inputbutton">
                      <input type='submit' id="submit" value='${message(code: "springSecurity.login.button")}'/>
              </p>
      </form>
 
 </div>